package com.amigo.online.provider.user.service;

import java.util.List;

import org.springframework.http.ResponseEntity;

import com.amigo.online.common.core.response.Response;

/**
 * @param <T>
 * @author Administrator
 */
public interface FeignResponseConvertService<T> {

    boolean convertBasicObject(ResponseEntity<Response> res, T t);

    boolean convertListObject(ResponseEntity<Response> res, List<T> t);
}
